package com.smedi.ismedi.constructionproject.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: xulinjun
 * @Date: 2021-6-24 15:02
 */
@Data
@Accessors(chain = true)
public class ProjectAssignmentRequest implements Serializable {
    @ApiModelProperty(value = "项目分配id")
    private Long projectAssignmentId;

    @ApiModelProperty(value = "人员id")
    @NotNull(message = "人员id为空！")
    private Long personId;

    @ApiModelProperty(value = "项目组织id")
    @NotNull(message = "项目组织id为空！")
    private Long projectOrganizationId;

    @ApiModelProperty(value = "项目id")
    @NotNull(message = "项目id为空！")
    private Long projectId;

    @ApiModelProperty(value = "项目职务")
    private String projectJob;
}
